package cn.web.tunnelrobot.service;

import cn.web.tunnelrobot.dto.RealTimeData;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * @Author: lbh
 * @Date: 2022/9/28 9:01
 *
 */
@Service
public interface RealTimeDataService {

    void saveHitoryData(RealTimeData realTimeData);

    HashMap<String, Object> HistoryDatalist(Integer page, Integer size);
    HashMap<String, Object> getHistoryDataByTime(String time);
    HashMap<String,Object> getChargingsState();
}
